package com.kabuda.blog.vo.params;

import com.kabuda.blog.vo.CategoryVo;
import com.kabuda.blog.vo.TagVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "文章参数")
@Data
public class ArticleParam {

    @ApiModelProperty(value = "文章id")
    private Long id;
    @ApiModelProperty(value = "文章主体")
    private ArticleBodyParam body;
    @ApiModelProperty(value = "所属分类")
    private CategoryVo category;
    @ApiModelProperty(value = "描述")
    private String summary;
    @ApiModelProperty(value = "拥有标签")
    private List<TagVo> tags;
    @ApiModelProperty(value = "标题")
    private String title;
}
